<h1><%= "#{@election.name} results"%></h1>
<table class="election_results">
  <tr class="election_results"><th>score</th><th>candidates</th></tr>
<% @scores.sort.reverse.each do | score | %>
  <tr class="election_results"><td class="election_results_score"><%= score %></td>
<td>
<% @results[score.to_s].each do | item |%>
  <%= item.name %><br />
<% end %>
</td></tr>
<% end %>
</table>
